package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SoulQuestion implements Serializable {
    private String id;
    private String question;
    private List<QuestionOption> options;
    public SoulQuestion(QuestionList questionList){
        this.id=questionList.getQuestionId().toString();
        this.question=questionList.getQuestion();
        this.options=questionList.getOptions();
    }
}
